<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/themes/icon.css"/>">

<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/easyui-lang-zh_CN.js"/>"></script>
<title>员工管理测试</title>
</head>
<body>
<script>

</script>

	<table id="hwc-staff" class="easyui-datagrid" 
		data-options = " 
		url:'queryStaffByPage',
		fitColumns:true,
		fit:true,
		pagination:true,
		pageSize:5 ,
		pageList:[5,10,15,20],
		rownumbers:true,
		toolbar:'#hwc-staffthand',
		border:false
		">
		<thead>
			<tr>
				<th data-options="field:'staffNo',width:'1%', checkbox:true">员工编号</th>
				<th data-options="field:'staffName',width:'8%',align:'center'">姓名</th>
				<th data-options="field:'departmentName',width:'10%',align:'center'">所属科室</th>
				<th data-options="field:'staffAccount',width:'13%',align:'center'">账号</th>
				<th data-options="field:'staffPassword',width:'13%',align:'center'">密码</th>
				<th data-options="field:'staffAge',width:'5%',align:'center'">年龄</th>
				<th data-options="field:'staffIdcard',width:'11%',align:'center'">身份证</th>
				<th data-options="field:'staffPhone',width:'10%',align:'center'">电话</th>
				<th data-options="field:'postName',width:'5%',align:'center'">职务</th>
				<th data-options="field:'roleName',width:'5%',align:'center'">角色</th>
				<th data-options="field:'staffSex',width:'5%',align:'center'">性别</th>
				<th data-options="field:'staffState',width:'7%',align:'center'">状态</th>
				<th data-options="field:'titleName',width:'7%',align:'center'">职称</th>
				
			</tr>
		</thead>
	</table>
	<div id="hwc-staffthand">
		<a id="hwc-addStaff" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">添加员工</a>
			<a id="hwc-editStaff" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">编辑员工</a>
			<a id="hwc-deleteStaff" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true">批量删除</a>
			<a id="hwc-allStaff" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true">显示全部</a>
			<a id="hwc-resetStaff" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">重置密码</a>
	</div>
</body>
</html>